#ifndef COMPONENTINTEGRATOR_H
#define COMPONENTINTEGRATOR_H

#include <QObject>
#include <QApplication>

#include "core/model/StoredAudio.h"


namespace Tanyatu
{
class ComponentIntegrator : public QObject
{
    Q_OBJECT
public:
    ComponentIntegrator()
        : QObject( QCoreApplication::instance() )
    {

    }

    void integrate();

    friend class T;

private slots:

    void onTrackRemovalFromAudioLib(
            Tanyatu::Model::StoredAudio * removedTracks );

    void onAudioLibClear();


};
}
#endif // COMPONENTINTEGRATOR_H
